import { http } from '@/utils/http/axios';

const prefix = '/admin/hosp/department';
/**
 * @description 获取部门列表树
 */
export function getDeptListTree(hoscode) {
  return http.request({
    url: `${prefix}/listTree/${hoscode}`,
    method: 'GET'
  })
}